package com.example.javabasic.shejimoshi.beiwanglu.demo1;
//备忘录
public class Memento {
    //状态
    private String state;
    public Memento(String state){
        this.state = state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getState() {
        return state;
    }
}
